package org.bonorsoft.modules.wechat.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.bonorsoft.modules.wechat.entity.NywxHf;
import org.bonorsoft.modules.wechat.mapper.NywxHfMapper;
import org.bonorsoft.modules.wechat.service.INywxHfService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class NywxHfServiceImpl extends ServiceImpl<NywxHfMapper, NywxHf> implements INywxHfService {

    /**
     * 通过提交id获取回复
     *
     * @param tjid
     */
    @Override
    public List<NywxHf> getNywxHfByTjid(String tjid) {
        return this.baseMapper.getNywxHfByTjid(tjid);
    }

    @Override
    public void removeByTjid(String tjid) {
        this.baseMapper.removeByTjid(tjid);
    }
}
